#include "CurveModel.h"

CurveModel::CurveModel() {
	status = MODEL_NOT_INITIALIZED;
}

CurveModel::~CurveModel() {
	// empty
}

void CurveModel::initialize() {
	status = MODEL_INITIALIZED;
}

void CurveModel::clear() {

}

CurveModelStatus CurveModel::getStatus() {
	return status;
}

void CurveModel::handleEvent(CurveModelEvent event) {
	switch (event) {
	case EVENT_KEY_LEFT:
	case EVENT_KEY_RIGHT:
	case EVENT_DUNNO:
		return;
	case EVENT_KEY_ESCAPE:
	case EVENT_WINDOW_CLOSED:
		status = MODEL_CLEARED;
		return;
	}
}
